﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FezPosterClient
{
    class Constant
    {
        public static string proxyUrl = "";

        public static bool isLimitedAccess = true;

        public static int limitMicroSecond = 700;

        /// <summary>
        /// POSTARのドメイン
        /// </summary>
        public const string postarDomain = "www.postar.jp";

        public const string loginUrl = "https://www.postar.jp/index.php?p=login";

        /// <summary>
        /// キャラクターリスト取得用のURL
        /// </summary>
        public const string charactorListUrl = "http://www.postar.jp/index.php?p=mallitem_top&it_serial=1034&page=user&his=2";

        /// <summary>
        /// アイテムリストのURL
        /// </summary>
        public const string itemListUrl = "http://www.postar.jp/index.php?p=mall&page=user";

        /// <summary>
        /// アイテム選択のURL
        /// </summary>
        public const string itemSelectUrl = "http://www.postar.jp/index.php?p=mallitem_top&page=user&it_serial=";

        /// <summary>
        /// 確認画面　POSTする
        /// </summary>
        public const string itemConfirmUrl = "http://www.postar.jp/index.php?p=mallitem_top&q=a&star=";

        public const string itemConfirmRefererUrl = "http://www.postar.jp/index.php?p=mallitem_top&q=v&star=";

        /// <summary>
        /// 購入完了画面
        /// </summary>
        public const string itemBuyUrl = "http://www.postar.jp/index.php?p=mallitem_top&q=x&buy=1";

        /// <summary>
        /// セッション名
        /// </summary>
        public const string sessionName = "PMLSID";

        public const string postCharactorName = "chara";

        public static Dictionary<string, string> ItemNames= new Dictionary<string, string>()
        {
            {"1049", "コアメイデンセット"},
            {"1048", "コアトレイターセット"},
            {"1047", "アンメイデンセット"},
            {"1046", "アントレイターセット"},
            {"1045", "ハイメイデンセット"},
            {"1044", "ハイトレイターセット"},
            {"1043", "エクスバンク特約書"},
            {"1042", "流転の羽"},  
            {"1041", "追憶の壷"},
            {"1040", "匠の砥石"},
            {"1039", "穿孔の石"},
            {"1038", "RBS利用券"},
            {"1037", "レアステーキ20個"},
            {"1036", "フィズガードゲインR（5個）"},
            {"1035", "フィズアタックゲインR（5個）"},
            {"1034", "電撃の輝石"},
            {"1033", "ヴィネルワイン"}
        };

        public static Dictionary<string, string> ItemPrice = new Dictionary<string, string>()
        {
            {"1049", "4800"},
            {"1048", "4800"},
            {"1047", "4800"},
            {"1046", "4800"},
            {"1045", "4800"},
            {"1044", "4800"},
            {"1043", "800"},
            {"1042", "600"},  
            {"1041", "400"},
            {"1040", "300"},
            {"1039", "300"},
            {"1038", "200"},
            {"1037", "100"},
            {"1036", "44"},
            {"1035", "44"},
            {"1034", "8"},
            {"1033", "8"}
        };
    }
}
